package com.shoutao.website.utils;

public class UserTypeConverter {

    public static String convert(int userType){

        String userTypeName ="错误的类型";
        switch (userType) {
            case 1:
                userTypeName = "管理员";
                break;
            case 2:
                userTypeName = "主账号";
                break;
            case 3:
                userTypeName = "子账号";
                break;
            default:
                break;
        }
        return userTypeName;
    }

}
